package com.xms.queryview.service;

import com.xms.queryview.core.component.GridDescriptor;
import com.xms.queryview.entity.QueryView;
import com.xms.utils.JsonUtil;

/**
 * <p>
 * GridBuilder
 * </p>
 *
 * @author migo
 * @since 2021/9/4
 */
public class GridBuilder {
    public QueryView view;

    public GridBuilder(QueryView vw)
    {
        view = vw;
        grid = JsonUtil.toBean(view.getLayoutconfig(), GridDescriptor.class);
    }

    public GridDescriptor grid;
}
